import {createRouter,createWebHistory } from 'vue-router'

const routes = [
  {
    path:'/',
    name:'login',
    component:() => import('../views/Login.vue')
  },
  {
    path:'/layout',
    name:'layout',
    component:() => import('../views/Layout.vue')
  },
]
const router = createRouter({
  history:createWebHistory(process.env.BASE_URL),
  routes
})

export default router